FROM ubuntu
MAINTAINER Wenxin "wenxindemail@163.com"
ENV REFRESHED_AT 2018-06-01
CMD ["mysqld --user=root","&","httpd","&","tailf","/var/log/httpd/access_log"]

RUN apt-get update -y
RUN apt-get install apache2 php php-mysql mysql-server -y

EXPOSE 80
EXPOSE 3306